use_frameworks!

platform :ios, '12.0'

source 'https://gitee.com/mirrors/CocoaPods-Specs.git'
source 'https://gitee.com/zj1208/specs.git'

target 'ZXMBProgressHUD_Example' do
  pod 'ZXMBProgressHUD', :path => '../'
  pod 'ZXCategoriesUtil'
  pod 'Masonry'

  
  target 'ZXMBProgressHUD_Tests' do
    inherit! :search_paths

    pod 'Specta'
    pod 'Expecta'
    pod 'FBSnapshotTestCase'
    pod 'Expecta+Snapshots'

  end
end

#解决xcode 15 报错 xcode SDK does not contain ‘libarclite‘
#在xcode15之后，移除了iOS12之前的‘libarclite‘库，所以必须iOS12以上才能在真机运行，不然缺少库无法运行,修改2个地方：1.platform :ios, '12.0'。2.下面的。3）非M芯片模拟器，需要去除arm64
post_install do |installer|
    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
            config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
#            config.build_settings['CODE_SIGN_IDENTITY'] = ''
        end
    end
end
